﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Collections.ObjectModel;
using System.ComponentModel;

namespace Delay
{
    public class mainNavigation
    {
        public mainNavigation()
        {
           _mainNavigationItems = new ObservableCollection<mainNavigationItem>();
        }
        private ObservableCollection<mainNavigationItem> _mainNavigationItems;
        public ObservableCollection<mainNavigationItem> MainNavigationItems
        {
            get
            {
               return _mainNavigationItems;
            }
            set
            {
                if (_mainNavigationItems != value)
                {
                    _mainNavigationItems = value;
                    NotifyPropertyChanged("MainNavigationItems");
                }
            }
        }
        public event PropertyChangedEventHandler PropertyChanged;
        private void NotifyPropertyChanged(String propertyName)
        {
            PropertyChangedEventHandler handler = PropertyChanged;
            if (null != handler)
            {
                handler(this, new PropertyChangedEventArgs(propertyName));
            }
        }
    }
}
